
import React, { PureComponent } from 'react';
import dva from './dva';
import { Provider } from 'react-redux';
import Router from './route';

const dvaApp = dva.createApp({
    initialState: {}
});
const store = dvaApp.getStore();

class App extends PureComponent {

    render(): Object {
        return <Provider store={store}>
                    <Router />
                </Provider>;
    }
}

export default App;
